extends LabelWithFont

var receptive = true
onready var  BALL = $"../ball"
onready var  SCORE_LABEL = $"../ScoreLabel"

func _ready():
	activate()

func activate():
	receptive = true
	SCORE_LABEL.visible = false
	visible = true

func start_game():
	BALL.start()
	receptive = false
	visible = false
	SCORE_LABEL.visible = true

func _input(event):
	if receptive:
		if event.is_action_released("ui_accept"):
			start_game()

